<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div style="display: flex;text-align: center;justify-content: space-around">
    <fieldset>
        <legend>添加员工信息</legend>
        <form th:action="@{/emp/addSubmit}" method="post">
            <label>员工姓名：<input type="text" name="name" placeholder="姓名"/></label>
            <br>
            <label>员工地址：<input type="text" name="address" placeholder="地址"/></label>
            <br>
            <label>员工薪水：<input type="text" name="salary" placeholder="薪水"/></label>
            <br>
            <label>员工部门：<input type="text" name="deptId" placeholder="部门Id"/></label>
            <br>
            <input type="submit" value="添加" style="width: 100%;margin-top: 10px">
        </form>
    </fieldset>
</div>
</body>
</html>